@SET STSADM="c:\program files\common files\microsoft shared\web server extensions\14\bin\stsadm"

net stop SPAdminV4

cd "E:\EricFang\VisualStudio\CodePlex\efspwebparts\SiteDataQuery\bin\Debug"
e:

%STSADM% -o addsolution -filename .\EFSPWebParts.SiteDataQuery.wsp
%STSADM% -o execadmsvcjobs

%STSADM% -o deploysolution -name EFSPWebParts.SiteDataQuery.wsp -immediate -allowgacdeployment -force -allcontenturls
%STSADM% -o execadmsvcjobs

%STSADM% -o activatefeature -name "EFSPWebParts.SiteDataQuery_SiteDataQuery" -url http://pdsha02:82
%STSADM% -o execadmsvcjobs

net start SPAdminV4

pause
